package com.feng.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feng.cloud.system.entity.Menu;

import java.util.List;

/**
 * @ClassName MenuMapper
 * @Description TODO
 * @Author Better Feng
 * @Date 2019/12/21 22:30
 * @Version 1.0
 **/
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findUserMenus(String username);

    List<String> findUserPermissions(String username);
}
